<template>
  <div class="at-action">
    <div class="at-action-before" v-if="$slots.before">
      <slot name="before"></slot>
    </div>
    <div class="at-action-content">
      <slot name="content"></slot>
    </div>
    <div class="at-action-after">
      <slot name="after"></slot>
      <slot></slot>
    </div>
  </div>
</template>

<script setup></script>

<style lang="scss" scoped>
.at-action {
  display: flex;
}
.at-action-content {
  flex: 1;
}

.at-action-after {
  display: flex;
}
</style>
